package gupao_edu_spring_beans.beans.factory.config;

/**
 * @ClassName:
 * @Description:
 * @Auther: zhouych
 * @Date: 2019/5/9 17:40
 */
public class MYDefaultBeanPostProcessor implements MYBeanPostProcessor {

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) throws Exception {
        System.out.println("-------postProcessBeforeInitialization-------" + beanName);
        return bean;
    }

    @Override
    public Object postProcessAfterInitialization(Object bean, String beanName) throws Exception {
        System.out.println("-------postProcessAfterInitialization-------" + beanName);
        return bean;
    }
}
